//
//  WebViewController.h
//  KidReading
//
//  Created by linziyuan on 16/4/13.
//  Copyright © 2016年 刘赞黄Telen. All rights reserved.
//

#import "THBaseViewController.h"

typedef NS_OPTIONS(NSInteger, SettingShowType){
    SettingShowType_none = 0,
    SettingShowType_account,
    SettingShowType_vip,
    SettingShowType_record,
    SettingShowType_active,
    SettingShowType_space,
    SettingShowType_rules,
    SettingShowType_secret,
    SettingShowType_about,
    SettingShowType_contact,
    SettingShowType_setting,
    SettingShowType_H5,
    SettingShowType_Local,
    SettingShowType_Quiz,
    SettingShowType_normalLink,
};

typedef enum : NSUInteger{
    WebPopUpType_Push = 0,
    WebPopUpType_Present,
}WebPopUpType;

@interface WebViewController : THBaseViewController
@property (nonatomic, assign) BOOL isClickToBrower;
@property (nonatomic, assign) BOOL clear_Bg;
@property (nonatomic, assign) BOOL claar_DeviceWith;
@property (nonatomic, assign) BOOL isfullScrean;
//
@property (nonatomic, assign) SettingShowType showType;
@property (nonatomic, assign) WebPopUpType popUpType;
@property (nonatomic, strong) NSString *barTitle;
@property (nonatomic, strong) NSString *url;
/**当类型为h5时,除了baseinfo额外需要的参数*/
@property (nonatomic, strong) NSDictionary *otherParas;
//
@property (nonatomic, strong) UIButton *rightBtn;

-(void)hurdleShareSuccessReflshWebView;

+(instancetype)currentWebVCInstance;
@end
